Modules
Status Codes

Includes values and descriptions of status codes. More...

Modules

 SDK Internal-Defined Status Codes
 
 Status Codes for Transparent Transmission of Algorithm Library
 

Detailed Description

Includes values and descriptions of status codes.

When an API is called, an integer type status code will be returned.This status code is used to indicate the calling state of the API.The status code is hexadecimal with the format "0x\%x".
This section shows all status codes and corresponding descriptions. For example, 0x00000000 represents successful API calling.
The following sample code shows how to check the API exception and return error when turning on cameras.

ret = cam.MV_CC_OpenDevice(MV_ACCESS_Exclusive, 0)
if ret != 0:
print ("open device fail! ret[0x%x]" % ret)
sys.exit()

For a device that has been connected to a third-party software, if it is reconnected, the error code "0x80000203" will be returned, meaning no access permission for the camera.

Open Device fail! nRet [0x80000203]